package com.swx.identityservice.service.impl;


import com.swx.identityservice.mapper.ScbpDealRoleMapper;
import com.swx.identityservice.models.ScbpDealRole;
import com.swx.identityservice.service.ScbpDealRoleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author LC
 * @version V1.0.0
 * @date 2018-5-31 16:05
 */


@Service
public class ScbpDealRoleServiceImpl extends CrudServiceImpl<ScbpDealRole> implements ScbpDealRoleService {

    @Autowired
    private ScbpDealRoleMapper scbpDealRoleMapper;

    @Override
    public List<ScbpDealRole> selectDealRoles(String Name,
                                              String ShowIndexName,
                                              Integer Priority,
                                              String Unit,
                                              String NameCode,
                                              Boolean IsDecided) {
        return scbpDealRoleMapper.selectDealRoles(Name,ShowIndexName,Priority,Unit,NameCode,IsDecided);
    }
}

